﻿#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include "stuinfomntwiget.h"
#include <QGuiApplication>
#include <QScreen>
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

    void clearAftRegister();

    void clearAftLogin();

    void initRegisInput();

    void initLoginInput();

signals:
    void logIn();

private slots:
    void on_btnLogin_clicked();

    void on_btn2Register_clicked();

    void on_btn2Login_clicked();

    void on_btnRegister_clicked();


private:
    Ui::Widget *ui;
    StuInfoMntWiget *simWin;
};
#endif // WIDGET_H
